Prev | Next

Wind and Gravity - Use the Force

<< | >>

Instant Billowing & Gusting

Overview

If you leave the Wind Speed set to a constant speed the flag's animation will start to look repetitive. To make things more interesting, 3D Flag has a built-in wind pattern generator.

The wind pattern generator will automatically create keyframes for the Wind Speed parameter. This allows you to quickly create varying wind speeds, making your flag animation look much better. You access the wind pattern generator by picking a preset from the Speed Presets menu.

Creating Gusts

The wind pattern generator is really quite amazing. With it you can create everything from calm breezes to near-hurricane type forces. You should take some time to see what each setting does. For this particular example we will create a gusting style of wind.

  1. Open the "Quick Start.aep" project.
  2. In the Effect Controls window, locate the Speed Presets menu and select "Gusty - Variable."



    This will cause any existing Wind Speed keyframes to get cleared, and dozens of new ones to be created. Way more keyframes than you would want to create by hand!
  3. Open the Wind Speed animation graph in the Timeline window to see how the wind is no longer constant.



    Your animation will look different than the image above because the wind pattern generator uses random numbers when generating keyframes.

    You may edit these keyframes as you would any animation graph, or you may generate a new set of keyframes by selecting another preset from the Speed Presets parameter. You can even select the same preset over and over to create different random variations of the same wind style.
  4. To see how the wind now affects the flag, view the new animation within the Options window by clicking on the 3D Flag logo.



  5. When you're done watching the flag, click the OK button to close the Options window.

Clearing Keyframes

Now that you've automatically created Wind Speed keyframes, you can clear the keyframes with one command.

  1. In the Speed Presets menu, select "Clear Keyframes."



    All of the keyframes for the Wind Speed parameter are deleted and the Wind Speed is set back to the default value of 11.0.

So far, the wind has been blowing to the right. Let's learn how to change that in the next section, Using Wind Direction Presets.